package com.bdqn.service.impl;

import com.bdqn.dao.smbms_addressDao;
import com.bdqn.entity.address;
import com.bdqn.service.smbms_addressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class smbms_addressServiceImpl implements smbms_addressService {

    @Autowired
    private smbms_addressDao as;

    public int addAddress(address ress) {
        return as.addAddress(ress);
    }

    public int delAddress(int id, String contact) {
        return as.delAddress(id,contact);
    }
}
